<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
<meta name="viewport"
      content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">

    <meta name="author" content="ZhangPing">





<title>Android 禁止屏幕休眠和锁屏的方法 | ZhangPing&#39;s Blog</title>



    <link rel="icon" href="/favicon.ico">




    <!-- stylesheets list from _config.yml -->
    
    <link rel="stylesheet" href="/css/style.css">
    



    <!-- scripts list from _config.yml -->
    
    <script src="/js/script.js"></script>
    
    <script src="/js/tocbot.min.js"></script>
    



    
    
        
    


<meta name="generator" content="Hexo 4.2.0"></head>
<body>
    <div class="wrapper">
        <header>
    <nav class="navbar">
        <div class="container">
            <div class="navbar-header header-logo"><a href="/">ZhangPing&#39;s Blog</a></div>
            <div class="menu navbar-right">
                
                    <a class="menu-item" href="/archives">Posts</a>
                
                    <a class="menu-item" href="/category">Categories</a>
                
                    <a class="menu-item" href="/tag">Tags</a>
                
                    <a class="menu-item" href="/about">About</a>
                
                <input id="switch_default" type="checkbox" class="switch_default">
                <label for="switch_default" class="toggleBtn"></label>
            </div>
        </div>
    </nav>

    
    <nav class="navbar-mobile" id="nav-mobile">
        <div class="container">
            <div class="navbar-header">
                <div>
                    <a href="/">ZhangPing&#39;s Blog</a><a id="mobile-toggle-theme">·&nbsp;Light</a>
                </div>
                <div class="menu-toggle" onclick="mobileBtn()">&#9776; Menu</div>
            </div>
            <div class="menu" id="mobile-menu">
                
                    <a class="menu-item" href="/archives">Posts</a>
                
                    <a class="menu-item" href="/category">Categories</a>
                
                    <a class="menu-item" href="/tag">Tags</a>
                
                    <a class="menu-item" href="/about">About</a>
                
            </div>
        </div>
    </nav>

</header>
<script>
    var mobileBtn = function f() {
        var toggleMenu = document.getElementsByClassName("menu-toggle")[0];
        var mobileMenu = document.getElementById("mobile-menu");
        if(toggleMenu.classList.contains("active")){
           toggleMenu.classList.remove("active")
            mobileMenu.classList.remove("active")
        }else{
            toggleMenu.classList.add("active")
            mobileMenu.classList.add("active")
        }
    }
</script>
        <div class="main">
            <div class="container">
    
    
        <div class="post-toc">
    <div class="tocbot-list">
    </div>
    <div class="tocbot-list-menu">
        <a class="tocbot-toc-expand" onclick="expand_toc()">Expand all</a>
        <a onclick="go_top()">Back to top</a>
        <a onclick="go_bottom()">Go to bottom</a>
    </div>
</div>

<script>
    document.ready(
        function () {
            tocbot.init({
                tocSelector: '.tocbot-list',
                contentSelector: '.post-content',
                headingSelector: 'h1, h2, h3, h4, h5',
                collapseDepth: 1,
                orderedList: false,
                scrollSmooth: true,
            })
        }
    )

    function expand_toc() {
        var b = document.querySelector(".tocbot-toc-expand");
        tocbot.init({
            tocSelector: '.tocbot-list',
            contentSelector: '.post-content',
            headingSelector: 'h1, h2, h3, h4, h5',
            collapseDepth: 6,
            orderedList: false,
            scrollSmooth: true,
        });
        b.setAttribute("onclick", "collapse_toc()");
        b.innerHTML = "Collapse all"
    }

    function collapse_toc() {
        var b = document.querySelector(".tocbot-toc-expand");
        tocbot.init({
            tocSelector: '.tocbot-list',
            contentSelector: '.post-content',
            headingSelector: 'h1, h2, h3, h4, h5',
            collapseDepth: 1,
            orderedList: false,
            scrollSmooth: true,
        });
        b.setAttribute("onclick", "expand_toc()");
        b.innerHTML = "Expand all"
    }

    function go_top() {
        window.scrollTo(0, 0);
    }

    function go_bottom() {
        window.scrollTo(0, document.body.scrollHeight);
    }

</script>
    

    
    <article class="post-wrap">
        <header class="post-header">
            <h1 class="post-title">Android 禁止屏幕休眠和锁屏的方法</h1>
            
                <div class="post-meta">
                    
                        Author: <a itemprop="author" rel="author" href="/">ZhangPing</a>
                    

                    
                        <span class="post-time">
                        Date: <a href="#">January 9, 2016&nbsp;&nbsp;20:25:00</a>
                        </span>
                    
                    
                        <span class="post-category">
                    Category:
                            
                                <a href="/categories/Android-%E7%9F%A5%E8%AF%86%E7%82%B9%E6%95%B4%E7%90%86/">Android-知识点整理</a>
                            
                        </span>
                    
                </div>
            
        </header>

        <div class="post-content">
            <p>常常我们开发程序的时候我们不需要系统唤醒系统锁屏功能，比如我们在做xxxNowTV或XXX播放器这样的程序，用户有时候在看电视或视频的时候不希望系统的锁屏功能启动，即不想锁屏，然而系统却在我们看电视或者视频的时候出来个锁屏的界面进行锁频拉，我们还要想继续看的话还要去解锁，这样好麻烦，不是我们想要的，那我们该怎么做呢，其实很简单，我这里只讲其中的两种</p>
<h4 id="一-：我们只要在程序中用代码实现。代码如下："><a href="#一-：我们只要在程序中用代码实现。代码如下：" class="headerlink" title="一 ：我们只要在程序中用代码实现。代码如下："></a>一 ：我们只要在程序中用代码实现。代码如下：</h4><figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br></pre></td><td class="code"><pre><span class="line"></span><br><span class="line"><span class="comment">//方法一   </span></span><br><span class="line">	getWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON,WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); </span><br><span class="line">	setContentView(R.layout.main);   </span><br><span class="line"></span><br><span class="line"><span class="comment">//方法二   </span></span><br><span class="line">	<span class="meta">@Override</span>  </span><br><span class="line">	<span class="function"><span class="keyword">protected</span> <span class="keyword">void</span> <span class="title">onResume</span><span class="params">()</span> </span>&#123;  </span><br><span class="line">		<span class="keyword">super</span>.onResume();  </span><br><span class="line">		pManager = ((PowerManager) getSystemService(POWER_SERVICE));  </span><br><span class="line">		mWakeLock = pManager.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK | PowerManager.ON_AFTER_RELEASE, TAG);  </span><br><span class="line">		mWakeLock.acquire();  </span><br><span class="line">	&#125;  </span><br><span class="line">  </span><br><span class="line">	<span class="meta">@Override</span>  </span><br><span class="line">	<span class="function"><span class="keyword">protected</span> <span class="keyword">void</span> <span class="title">onPause</span><span class="params">()</span> </span>&#123;  </span><br><span class="line">		<span class="keyword">super</span>.onPause();  </span><br><span class="line">	      </span><br><span class="line">		<span class="keyword">if</span>(<span class="keyword">null</span> != mWakeLock)&#123;  </span><br><span class="line">			mWakeLock.release();  </span><br><span class="line">		&#125;  </span><br><span class="line">	&#125;  </span><br><span class="line"></span><br><span class="line"><span class="comment">//方法三  </span></span><br><span class="line">	<span class="function"><span class="keyword">public</span> <span class="keyword">void</span> <span class="title">unLock</span><span class="params">()</span></span>&#123;  </span><br><span class="line">  		mContentResolver = getContentResolver();  </span><br><span class="line">  		<span class="comment">//不建议使用  </span></span><br><span class="line">  		<span class="comment">//setLockPatternEnabled(android.provider.Settings.System.LOCK_PATTERN_ENABLED,false);  </span></span><br><span class="line">    </span><br><span class="line">  		<span class="comment">//推荐使用  </span></span><br><span class="line">  		setLockPatternEnabled(android.provider.Settings.Secure.LOCK_PATTERN_ENABLED,<span class="keyword">false</span>);  </span><br><span class="line">     &#125;  </span><br><span class="line">       </span><br><span class="line">  	<span class="function"><span class="keyword">private</span> <span class="keyword">void</span> <span class="title">setLockPatternEnabled</span><span class="params">(String systemSettingKey, <span class="keyword">boolean</span> enabled)</span> </span>&#123;  </span><br><span class="line">   		<span class="comment">//不建议使用  </span></span><br><span class="line">   		<span class="comment">//android.provider.Settings.System.putInt(mContentResolver,systemSettingKey, enabled ? 1 : 0);  </span></span><br><span class="line">           </span><br><span class="line">   		<span class="comment">//推荐使用  </span></span><br><span class="line">     	android.provider.Settings.Secure.putInt(mContentResolver, systemSettingKey,enabled ? <span class="number">1</span> : <span class="number">0</span>);  </span><br><span class="line">     &#125;  </span><br><span class="line">      	<span class="comment">//但注意要加权限AndroidManifest.xml文件中加入  </span></span><br><span class="line">      	<span class="comment">//&lt;uses-permission android:name="android.permission.WRITE_SETTINGS" /&gt;  </span></span><br><span class="line">      	<span class="comment">//还要特别注意的是要加入 android:sharedUserId="android.uid.system"，但有一个问题，  </span></span><br><span class="line">      	<span class="comment">//如果加入了sharedUserId后就不能使用eclipse编译了，一定要手动通过 mm -B进行编译，然后把apk install到模拟器或设备中</span></span><br></pre></td></tr></table></figure>

<h4 id="二：禁用系统的锁频功能，这方法不建议使用，只有在设当的环境下适当使用既可，我们只要知道这样我们也可以达到这样的功能实现就OK。"><a href="#二：禁用系统的锁频功能，这方法不建议使用，只有在设当的环境下适当使用既可，我们只要知道这样我们也可以达到这样的功能实现就OK。" class="headerlink" title="二：禁用系统的锁频功能，这方法不建议使用，只有在设当的环境下适当使用既可，我们只要知道这样我们也可以达到这样的功能实现就OK。"></a>二：禁用系统的锁频功能，这方法不建议使用，只有在设当的环境下适当使用既可，我们只要知道这样我们也可以达到这样的功能实现就OK。</h4><p>我们知道Android系统的锁屏时间存放在Setting数据库中，字段为Settings.System.SCREEN_OFF_TIMEOUT。我们可以查看SettingsProvider源码，查看如下文件的源码如下：<br>～/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java</p>
<p>查看loadSystemSettings()函数的代码如下</p>
<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br></pre></td><td class="code"><pre><span class="line"></span><br><span class="line"><span class="function"><span class="keyword">private</span> <span class="keyword">void</span> <span class="title">loadSystemSettings</span><span class="params">(SQLiteDatabase db)</span> </span>&#123;  </span><br><span class="line">        SQLiteStatement stmt = db.compileStatement(<span class="string">"INSERT OR IGNORE INTO system(name,value)"</span>  </span><br><span class="line">                + <span class="string">" VALUES(?,?);"</span>);  </span><br><span class="line">        Resources r = mContext.getResources();  </span><br><span class="line">        loadBooleanSetting(stmt, Settings.System.DIM_SCREEN,  </span><br><span class="line">                R.bool.def_dim_screen);  </span><br><span class="line">        loadSetting(stmt, Settings.System.STAY_ON_WHILE_PLUGGED_IN,  </span><br><span class="line">                <span class="string">"1"</span>.equals(SystemProperties.get(<span class="string">"ro.kernel.qemu"</span>)) ? <span class="number">1</span> : <span class="number">0</span>);  </span><br><span class="line">        loadIntegerSetting(stmt, Settings.System.SCREEN_OFF_TIMEOUT,  </span><br><span class="line">                 R.integer.def_screen_off_timeout);  </span><br><span class="line">         <span class="comment">// Set default cdma emergency tone  </span></span><br><span class="line">         loadSetting(stmt, Settings.System.EMERGENCY_TONE, <span class="number">0</span>);  </span><br><span class="line">         <span class="comment">// Set default cdma call auto retry  </span></span><br><span class="line">         loadSetting(stmt, Settings.System.CALL_AUTO_RETRY, <span class="number">0</span>);  </span><br><span class="line">         <span class="comment">// Set default cdma DTMF type  </span></span><br><span class="line">         loadSetting(stmt, Settings.System.DTMF_TONE_TYPE_WHEN_DIALING, <span class="number">0</span>);  </span><br><span class="line">         <span class="comment">// Set default hearing aid  </span></span><br><span class="line">         loadSetting(stmt, Settings.System.HEARING_AID, <span class="number">0</span>);  </span><br><span class="line">         <span class="comment">// Set default tty mode  </span></span><br><span class="line">         loadSetting(stmt, Settings.System.TTY_MODE, <span class="number">0</span>);  </span><br><span class="line">         loadBooleanSetting(stmt, Settings.System.AIRPLANE_MODE_ON,  </span><br><span class="line">                 R.bool.def_airplane_mode_on);  </span><br><span class="line">         loadStringSetting(stmt, Settings.System.AIRPLANE_MODE_RADIOS,  </span><br><span class="line">                 R.string.def_airplane_mode_radios);  </span><br><span class="line">         loadStringSetting(stmt, Settings.System.AIRPLANE_MODE_TOGGLEABLE_RADIOS,  </span><br><span class="line">                 R.string.airplane_mode_toggleable_radios);  </span><br><span class="line">         loadBooleanSetting(stmt, Settings.System.AUTO_TIME,  </span><br><span class="line">                 R.bool.def_auto_time); <span class="comment">// Sync time to NITZ  </span></span><br><span class="line">         loadIntegerSetting(stmt, Settings.System.SCREEN_BRIGHTNESS,  </span><br><span class="line">                 R.integer.def_screen_brightness);  </span><br><span class="line">         loadBooleanSetting(stmt, Settings.System.SCREEN_BRIGHTNESS_MODE,  </span><br><span class="line">                 R.bool.def_screen_brightness_automatic_mode);  </span><br><span class="line">         loadDefaultAnimationSettings(stmt);  </span><br><span class="line">         loadBooleanSetting(stmt, Settings.System.ACCELEROMETER_ROTATION,  </span><br><span class="line">                 R.bool.def_accelerometer_rotation);  </span><br><span class="line">         loadDefaultHapticSettings(stmt);  </span><br><span class="line">         stmt.close();  </span><br><span class="line">     &#125;</span><br></pre></td></tr></table></figure>

<p>我们通过查看源码便知道， Settings.System.SCREEN_OFF_TIMEOUT没有初始化的话（系统首次启动，这个字段肯定是没 有初始化的），系统将会利用资源中的R.integer.def_screen_off_timeout来初始化。我们为了让系统永不锁屏，只需要把资源 R.integer.def_screen_off_timeout设为-1即可。查看文件在这里：<br>frameworks/base/packages/SettingsProvider/res/values/defaults.xml<br>可以找到R.integer.def_screen_off_timeout的定义</p>
<figure class="highlight xml"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="tag">&lt;<span class="name">integer</span> <span class="attr">name</span>=<span class="string">"def_screen_off_timeout"</span>&gt;</span>60000<span class="tag">&lt;/<span class="name">integer</span>&gt;</span></span><br></pre></td></tr></table></figure>

<p>发现默认值为60000ms，也就是60s。我们只需要把这个参数改为-1。然后重新编译SettingsProvider模块，就OK了。<br>但有时候也会有这样的情况发生，用户进入系统后，修改锁屏时间，为了这样的情况发生我们得在Setting模块中删除对锁屏时间的设置。这样Android设备就不锁屏了。<br>我们这里还要处理一种情况，就是让系统一启动我们就禁用锁屏的功能，很简单，我们只要把系统锁 屏 功能的的初始默认开关给改以下就可以了，如下找到这个类：<br>frameworks/policies/base/phone/com/android/internal/policy/impl/KeyguardViewMediator.java</p>
<p>该文件中有一个变量定义如下：</p>
<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">/** </span></span><br><span class="line"><span class="comment"> * External apps (like the phone app) can tell us to disable the keygaurd. </span></span><br><span class="line"><span class="comment"> */</span>  </span><br><span class="line"><span class="keyword">private</span> <span class="keyword">boolean</span> mExternallyEnabled = <span class="keyword">true</span></span><br></pre></td></tr></table></figure>

<p>mExternallyEnabled是用来管理是否开启屏幕锁的关键。默认值是打开屏锁，根据注释可以知道他是希望应用程序来修改这个<br>值，我们可以把这个值改成false就可以了。<br>有时候我们不想修改这个初始值，那我们看看这个类有没有提供相应的方法来供外部修改这个值的，不出我们所料，看下面这段代码就是的了：</p>
<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">/** </span></span><br><span class="line"><span class="comment"> * Same semantics as &#123;<span class="doctag">@link</span> WindowManagerPolicy#enableKeyguard&#125;; provide </span></span><br><span class="line"><span class="comment"> * a way for external stuff to override normal keyguard behavior.  For instance </span></span><br><span class="line"><span class="comment"> * the phone app disables the keyguard when it receives incoming calls. </span></span><br><span class="line"><span class="comment"> */</span>  </span><br><span class="line"><span class="function"><span class="keyword">public</span> <span class="keyword">void</span> <span class="title">setKeyguardEnabled</span><span class="params">(<span class="keyword">boolean</span> enabled)</span> </span>&#123;  </span><br><span class="line">    <span class="keyword">synchronized</span> (<span class="keyword">this</span>) &#123;  </span><br><span class="line">        <span class="keyword">if</span> (DEBUG) Log.d(TAG, <span class="string">"setKeyguardEnabled("</span> + enabled + <span class="string">")"</span>);  </span><br><span class="line">  </span><br><span class="line">         mExternallyEnabled = enabled;  </span><br><span class="line">   </span><br><span class="line">         <span class="keyword">if</span> (!enabled &amp;&amp; mShowing) &#123;  </span><br><span class="line">             <span class="keyword">if</span> (mExitSecureCallback != <span class="keyword">null</span>) &#123;  </span><br><span class="line">                 <span class="keyword">if</span> (DEBUG) Log.d(TAG, <span class="string">"in process of verifyUnlock request, ignoring"</span>);  </span><br><span class="line">                 <span class="comment">// we're in the process of handling a request to verify the user  </span></span><br><span class="line">                 <span class="comment">// can get past the keyguard. ignore extraneous requests to disable / reenable  </span></span><br><span class="line">                 <span class="keyword">return</span>;  </span><br><span class="line">             &#125;  </span><br><span class="line">   </span><br><span class="line">             <span class="comment">// hiding keyguard that is showing, remember to reshow later  </span></span><br><span class="line">             <span class="keyword">if</span> (DEBUG) Log.d(TAG, <span class="string">"remembering to reshow, hiding keyguard, "</span>  </span><br><span class="line">                     + <span class="string">"disabling status bar expansion"</span>);  </span><br><span class="line">             mNeedToReshowWhenReenabled = <span class="keyword">true</span>;  </span><br><span class="line">             hideLocked();  </span><br><span class="line">         &#125; <span class="keyword">else</span> <span class="keyword">if</span> (enabled &amp;&amp; mNeedToReshowWhenReenabled) &#123;  </span><br><span class="line">            ...  </span><br><span class="line">            ...  </span><br><span class="line">         &#125;  </span><br><span class="line">     &#125;</span><br></pre></td></tr></table></figure>

<p>我们可以在我们需要修改这个值的地方来调用这个函数去修改.</p>

        </div>

        
            <section class="post-copyright">
                
                    <p class="copyright-item">
                        <span>Author:</span>
                        <span>ZhangPing</span>
                    </p>
                
                
                    <p class="copyright-item">
                        <span>Permalink:</span>
                        <span><a href="https://zhangpingv5.gitee.io/2016/01/09/%E7%A6%81%E6%AD%A2%E5%B1%8F%E5%B9%95%E4%BC%91%E7%9C%A0%E5%92%8C%E9%94%81%E5%B1%8F%E7%9A%84%E6%96%B9%E6%B3%95/">https://zhangpingv5.gitee.io/2016/01/09/%E7%A6%81%E6%AD%A2%E5%B1%8F%E5%B9%95%E4%BC%91%E7%9C%A0%E5%92%8C%E9%94%81%E5%B1%8F%E7%9A%84%E6%96%B9%E6%B3%95/</a></span>
                    </p>
                
                
                    <p class="copyright-item">
                        <span>License:</span>
                        <span>转载请注明出处</span>
                    </p>
                
                
                     <p class="copyright-item">
                         <span>Slogan:</span>
                         <span>Self-descipline grants me freedom.</span>
                     </p>
                

            </section>
        
        <section class="post-tags">
            <div>
                <span>Tag(s):</span>
                <span class="tag">
                    
                    
                        <a href="/tags/%E9%94%81%E5%B1%8F/"># 锁屏</a>
                    
                        
                </span>
            </div>
            <div>
                <a href="javascript:window.history.back();">back</a>
                <span>· </span>
                <a href="/">home</a>
            </div>
        </section>
        <section class="post-nav">
            
                <a class="prev" rel="prev" href="/2016/01/15/Android%20Studio%20%E5%BF%AB%E6%8D%B7%E9%94%AE%20for%20Windows/">Android Studio 快捷键 for Windows</a>
            
            
        </section>


    </article>
</div>

        </div>
        <footer id="footer" class="footer">
    <div class="copyright">
        <span>© ZhangPing | Powered by <a href="https://hexo.io" target="_blank">Hexo</a> & <a href="https://github.com/Siricee/hexo-theme-Chic" target="_blank">Chic</a></span>
    </div>
</footer>

    </div>
</body>
</html>
